package org.happy.tester.common.constant;

import com.google.common.base.Joiner;

import java.io.File;

/**
 * @Classname CommonConstant
 * @Description 常量数据
 * @Date 2020/4/18 10:31 上午
 * @Created by jc.bai
 */
public class CommonConstant {

    public static final Joiner POINTCUT_JOINER = Joiner.on(":").skipNulls();

    public static final Joiner FILE_PATH_JOINER = Joiner.on(File.separator).skipNulls();

    public static final String CATCHER_ROOT_PATH = "http://localhost:8080";

    public static final String COLLECT_NEED = "/catcher/collect/need/get";

    public static final String COLLECT_RESULT_PUSH = "/catcher/collect/result/push";

    public static final String MOCK_NEED = "/catcher/mock/need/get";

    public static final String MOCK_RESULT_GET = "/catcher/mock/result/get";

    public static final String MARK_POINTCUT = "/catcher/collect/need/mark";

    public static final String MOCK_RESULT_FIX = "/catcher/mock/result/fix";

    public static final String COLLECT_RESULT_FETCH = "/catcher/collect/result/fetch";

    public static final String DEFAULT_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36";

}